 //
//  IdearDetailViewController.m
//  PSYWeiBo
//
//  Created by xiaotian on 16/3/16.
//  Copyright © 2016年 郑亚田. All rights reserved.
//

#import "IdearDetailViewController.h"
 @interface IdearDetailViewController ()

@end

@implementation IdearDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.titleLab.text = @"点滴详情";
    
    [self setViews];
}

- (void)setViews {
    self.idearTextV = [UITextView new];
    [self.view addSubview:self.idearTextV];
    [self.idearTextV mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.headerImgV.mas_bottom);
        make.left.right.equalTo(@0);
        make.bottom.equalTo(@-30);
    }];
    self.idearTextV.editable = NO;
    self.idearTextV.text = self.idear;
    
    self.timeLab = [UILabel new];
    [self.view addSubview:self.timeLab];
    [self.timeLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(@0);
        make.top.equalTo(self.idearTextV.mas_bottom);
    }];
    self.timeLab.text = @"2016年3月16日 19:56";
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}

@end
